//菜单与按钮数据的ts类型
export interface MunuData {
	id: number;
	pid: number;
	name: string;
	code: string;
	toCode: string;
	type: number;
	status: null;
	level: number;
	children?: MenuList;
	select: boolean;
}
export type MenuList = MunuData[];

export interface DeletResponse {
	raw: any[];
	affected: number;
}

export type RoleData = {
	roleName: string;
	active: number;
	id?: number;
	createTime?: string;
};
